//
//  VuePrincipale.h
//  iGuy
//
//  Created by Victor Carmouze on 16/11/10.
//  Copyright 2010 EPITA. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AudioToolbox/AudioServices.h>


@interface VuePrincipale : UIViewController<UIScrollViewDelegate> {
	IBOutlet UIButton *sad;
	IBOutlet UIButton *happy;
	IBOutlet UIButton *afraid;
	IBOutlet UIScrollView *scrollView;
	NSArray *tableauNomSons;
	NSArray *tableauCFURLRef;
	NSArray *tableauChemins;
	NSArray *tableauSystenSound;
	SystemSoundID soundSad;
	SystemSoundID soundHappy;
	SystemSoundID soundAfraid;
}

@property(nonatomic, retain) UIButton *sad;
@property(nonatomic, retain) UIButton *happy;
@property(nonatomic, retain) UIButton *afraid;
@property(nonatomic,retain) UIScrollView *scrollView;

-(IBAction)boutonHappy:(id)sender;
-(IBAction)boutonSad:(id)sender;
-(IBAction)boutonAfraid:(id)sender;
-(void) initTableaux;

@end
